/**
 * 
 */
package com.tuscany.ext.facade.impl;

import java.util.ArrayList;
import java.util.List;

import com.tuscany.ext.facade.UserFacade;
import com.tuscany.ext.facade.ext.HotelExt;
import com.tuscany.ext.facade.result.TuscanyResult;

/**
 * @author selfly
 * 
 */
public class UserFacadeImpl implements UserFacade {

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.tuscany.ext.facade.UserFacade#helloUser(java.lang.String)
	 */
	@Override
	public TuscanyResult helloUser(HotelExt hotelExt) {

		System.out.println("hello " + hotelExt.toString());

		TuscanyResult result = new TuscanyResult(true);
		List<HotelExt> hotelList = new ArrayList<HotelExt>();
		HotelExt hotel = new HotelExt();
		hotel.setHotelId(100);
		hotel.setHotelCode("RESULT_CODE");
		hotel.setHotelName("返回酒店");
		result.setHotelList(hotelList);
		return result;

	}

}
